<!--
Copyright 2017 The Kubernetes Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->

<div layout="column">
  <kd-content-card>
    <kd-title>[[Resource Quotas|Resource quota info details section title.]]</kd-title>
    <kd-content>
      <div layout="column"
           class="layout-column">
        <div class="kd-info-card-section layout-padding layout-row"
             layout="row"
             layout-padding="">
          <div layout="column"
               class="kd-info-card-section-container layout-column">
            <div flex="auto"
                 class="flex-auto">
              <div layout="row"
                   class="kd-info-card-entry layout-row">
                <div flex="nogrow"
                     class="ng-binding ng-scope flex-nogrow">
                  [[Name|Resource quota info details section name]]
                </div>
                <div flex="auto"
                     class="kd-info-card-entry-content flex-auto">
                  <kd-middle-ellipsis display-string="{{::$ctrl.resourceQuotaDetail.objectMeta.name}}">
                  </kd-middle-ellipsis>
                </div>
              </div>
            </div>
          </div>
          <div layout="column"
               class="kd-info-card-section-container layout-column">
            <div flex="auto"
                 class="flex-auto">
              <div layout="row"
                   class="kd-info-card-entry layout-row">
                <div flex="nogrow"
                     class="ng-binding flex-nogrow">
                  [[Scopes|Resource quota info details section scopes]]
                </div>
                <div flex="auto"
                     class="kd-info-card-entry-content flex-auto">
                  <kd-middle-ellipsis ng-repeat="scope in ::$ctrl.resourceQuotaDetail.scopes"
                                      display-string="{{::scope}}">
                  </kd-middle-ellipsis>
                  <div ng-hide="::$ctrl.resourceQuotaDetail.scopes">-</div>
                </div>
              </div>
            </div>
          </div>
        </div>
        <kd-resource-quota-detail-status status-list="::$ctrl.resourceQuotaDetail.statusList"></kd-resource-quota-detail-status>
      </div>
    </kd-content>
  </kd-content-card>
</div>
